package com.bcxj.apipassenger.controller;

import com.bcxj.internalcommon.dto.ResponseResult;
import org.springframework.cloud.client.loadbalancer.Response;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * ClassName: TestControler
 * Package: com.bcxj.controller
 * Description:
 *
 * @Author BCXJ
 * @Create 2024/9/11 23:10
 * @Version 1.0
 * @Since 1.0
 */
@RestController
public class TestControler {
    @GetMapping("/test")
    public String test() {
        return "test";
    }


    @GetMapping("/authTest")
    public ResponseResult<String> authTest() {
        return ResponseResult.success( "authTest");
    }

    @GetMapping("/noauthTest")
    public ResponseResult<String> noauthTest() {
        return ResponseResult.success("noauthTest");
    }


}
